package com.jiaozi.system.pojo.vo.sys.post;

import java.util.Date;

import com.jiaozi.base.enums.sys.StateEnum;
import com.jiaozi.base.enums.sys.bean.TagEnumBean;
import com.jiaozi.core.table.enums.ColumnTypeEnum;
import com.jiaozi.system.enums.RoleRangeEnum;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;
import com.jiaozi.core.table.annotation.Column;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 系统-岗位(SysPost)列表
 *
 * @author 张崇阳
 * @since 2024-10-31 10:45:11
 */
@Schema(name = "岗位")
@Data
public class SysPostListVO {

    /**
     * 主键
     **/
    @TableId
    @Schema(description = "主键")
    private String id;


    /**
     * 岗位名称
     **/
    @Schema(description = "岗位名称")
    @Column(label = "岗位名称", order = 1)
    private String postName;


    /**
     * 岗位编码
     **/
    @Schema(description = "岗位编码")
    @Column(label = "岗位编码", order = 2)
    private String postCode;


    /**
     * 状态
     **/
    @Schema(description = "状态")
    private StateEnum postState;

    @Column(label = "状态",order = 3,type = ColumnTypeEnum.enu)
    @Schema(description = "状态展示数据")
    private TagEnumBean postStateTagEnumBean;
    public TagEnumBean getPostStateTagEnumBean() {
        return postState.getTagBean();
    }

    /**
     * 顺序0~99
     **/
    @Schema(description = "顺序0~99")
    @Column(label = "排序", order = 5)
    private Long postSort;


    /**
     * 创建时间
     **/
    @Schema(description = "创建时间")
    @Column(label = "创建时间", order = 6)
    private Date createdTime;



}

